<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="description" content="{$site.webdescription}">
    <meta name="keywords" content="{$site.webkeywords}">
    <title>{$site.webtitle}</title>
    <!--bootstrap css-->
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css" >
    <!--<link rel="stylesheet" href="bootstrap-4.6.0-dist/css/bootstrap.min.css">-->
    <link rel="stylesheet" href="__PUBLIC__/static/static/css/head.css">
    <link rel="stylesheet" href="__PUBLIC__/static/static/aliicon/iconfont.css">
    <link rel="shortcut icon" href="__PUBLIC__/static/static/img/favicon.ico" type="image/x-icon">
    <!--bootstrap js-->
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <!--<script src="static/js/jquery-3.5.1.slim.min.js"></script>-->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
    <script src="__PUBLIC__/static/static/swiper/js/swiper.min.js"></script>
    <script src="__PUBLIC__/static/static/js/search.js"></script>
    <!--<script src="static/bootstrap-4.6.0-dist/js/bootstrap.bundle.min.js"></script>-->
</head>
<body>
    <!--大屏区域-->
    <div class="container border-0 mb-0 logo-search">
        <div class="row flex-row justify-content-between align-items-center">
            <h1 class="mb-0">
                <img src="{:config('weblogo')}" alt="益硕教育">信息门户
            </h1>
            <div>
                <div class="input-group">
                    <input type="text" class="form-control search-input" name="title" placeholder="请输入搜索内容">
                    <div class="input-group-append search-btn">
                        <span class="input-group-text btn-blue"><i class="iconfont icon-sousuo"></i></span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--导航-->
    <div class="nav-bar">
        <nav class="container navbar navbar-expand-md nav-justified p-0">
            <!-- Brand -->
            <a class="navbar-brand d-md-none" href="#">
                <img src="__PUBLIC__/static/static/img/logo@highlight.png" alt="益硕教育">
            </a>

            <!-- Toggler/collapsibe Button -->
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
                <span class="navbar-toggler-icon"></span>
            </button>

            <!-- Navbar links -->
            <div class="collapse navbar-collapse" id="collapsibleNavbar">
                <ul class="navbar-nav container">
                    <li class="nav-item {if condition="$nid eq 0"}active{/if} p-1">
                        <a class="nav-link" href="/">首页</a>
                    </li>
                    {volist name="nav" id="v"}
                    <li class="nav-item p-1 nid='{$nid}' dd='{$v.id}' {if condition="$v.id eq $nid"}active{/if}">
                        <a class="nav-link" href="{$v.link}">{$v.title}</a>
                    </li>
                    {/volist}
                </ul>
            </div>
        </nav>
    </div>
   